package com.ibeeking.found.upms.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @ClassName TenantDO
 * @Description 租户
 * @Author ibeeking
 * @Date 2020-11-18 9:48
 **/
@Data
@TableName("upms_tenant_user")
public class TenantUserDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户编码
     */
    @TableField(value = "user_code")
    private String userCode;

    /**
     * 用户姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 用户密码
     */
    @TableField(value = "password")
    private String password;
    /**
     * 用户昵称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 用户头像
     */
    @TableField(value = "image")
    private String image;
    /**
     * 关联员工Id
     */
    @TableField(value = "employee_id")
    private Long employeeId;

    /**
     * 手机
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 电话
     */
    @TableField(value = "tel")
    private String tel;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 签名
     */
    @TableField(value = "description")
    private String description;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 在职，离职，0-离职，1-在职
     */
    @TableField(value = "job")
    private Integer job;

    /**
     * 账号是否未禁用，1-否，0-是
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;
    /**
     * 企业微信授权UserId
     */
    @TableField(value = "wx_user_id")
    private String wxUserId;
    /**
     * 钉钉授权UserId
     */
    @TableField(value = "ding_user_id")
    private String dingUserId;

    /**
     * 是否演示用户;0=否；1=是
     */
    @TableField(value = "demo_user")
    private Integer demoUser;

}
